Naanou.Search
Class SearchGeneral

General search panel. Used for content-hash and filename searches (just one text box)

Field Summary
System.ComponentModel.Container components
System.Windows.Forms.Label label1
Naanou.Common.Search.QueryOn queryOn
System.Windows.Forms.TextBox txtQuery

Fields inherited from class System.Windows.Forms.ScrollableControl
scrollPosition

Fields inherited from class System.Windows.Forms.Control
window

Constructor Summary
SearchGeneral(Naanou.Common.Search.QueryOn queryOn)
         Constructor

Property Summary
Naanou.Common.FileCategory Filter
string Text

Properties inherited from class System.Windows.Forms.UserControl
DefaultSize

Properties inherited from class System.Windows.Forms.ContainerControl
ActiveControl, BindingContext, CreateParams, ParentForm

Properties inherited from class System.Windows.Forms.ScrollableControl
AutoScroll, AutoScrollMargin, AutoScrollMinSize, AutoScrollPosition, DisplayRectangle, DockPadding, HScroll, VScroll

Properties inherited from class System.Windows.Forms.Control
AccessibilityObject, AccessibleDefaultActionDescription, AccessibleDescription, AccessibleName, AccessibleRole, AllowDrop, Anchor, BackColor, BackgroundImage, Bottom, Bounds, CanFocus, CanSelect, Capture, CausesValidation, ClientRectangle, ClientSize, CompanyName, ContainsFocus, ContextMenu, Controls, Created, Cursor, DataBindings, DefaultImeMode, Disposing, Dock, Enabled, Focused, Font, FontHeight, ForeColor, Handle, HasChildren, Height, ImeMode, InvokeRequired, IsAccessible, IsDisposed, IsHandleCreated, Left, Location, Name, Parent, ProductName, ProductVersion, RecreatingHandle, Region, RenderRightToLeft, ResizeRedraw, Right, RightToLeft, ShowFocusCues, ShowKeyboardCues, Site, Size, TabIndex, TabStop, Tag, Top, TopLevelControl, Visible, Width, WindowTarget

Properties inherited from class System.ComponentModel.Component
Container, DesignMode, Events

Method Summary
void Clear()
void ColumnSetup(System.Windows.Forms.ListView list)
void ContentHashQuery(Naanou.Common.Search.SearchQuery qry)
void Dispose(bool disposing)
void FilenameQuery(Naanou.Common.Search.SearchQuery qry)
Naanou.Common.Search.SearchQuery GetQuery()
System.Windows.Forms.ListViewItem.ListViewSubItem[] GetSubItems(System.Windows.Forms.ListViewItem parent, Naanou.Common.Search.SearchResult r, Naanou.Common.IEntry entry)
void InitializeComponent()
         Required method for Designer support - do not modify the contents of this method with the code editor.

Methods inherited from class System.Windows.Forms.UserControl
OnCreateControl, OnLoad, OnMouseDown, WndProc

Methods inherited from class System.Windows.Forms.ContainerControl
AdjustFormScrollbars, IContainerControl.ActivateControl, OnControlRemoved, ProcessDialogChar, ProcessDialogKey, ProcessMnemonic, ProcessTabKey, Select, UpdateDefaultButton, Validate

Methods inherited from class System.Windows.Forms.ScrollableControl
GetScrollState, OnLayout, OnMouseWheel, OnVisibleChanged, ScaleCore, ScrollControlIntoView, SetAutoScrollMargin, SetDisplayRectLocation, SetScrollState

Methods inherited from class System.Windows.Forms.Control
AccessibilityNotifyClients, AssignParent, BeginInvoke, BeginInvoke, BringToFront, CanSelectCore, Contains, CreateAccessibilityInstance, CreateControl, CreateControlsInstance, CreateGraphics, CreateHandle, DefWndProc, DestroyHandle, DisposeAxControls, DoDragDrop, EndInvoke, FindForm, Focus, FocusInternal, GetChildAtPoint, GetContainerControl, GetNextControl, GetStyle, GetTopLevel, GetVisibleCore, Hide, InitializeDCForWmCtlColor, InitLayout, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invalidate, Invoke, Invoke, InvokeGotFocus, InvokeLostFocus, InvokeOnClick, InvokePaint, InvokePaintBackground, IsInputChar, IsInputKey, NotifyInvalidate, NotifyValidationResult, OnBackColorChanged, OnBackgroundImageChanged, OnBindingContextChanged, OnCausesValidationChanged, OnChangeUICues, OnClick, OnContextMenuChanged, OnControlAdded, OnCursorChanged, OnDockChanged, OnDoubleClick, OnDragDrop, OnDragEnter, OnDragLeave, OnDragOver, OnEnabledChanged, OnEnter, OnFontChanged, OnForeColorChanged, OnGiveFeedback, OnGotFocus, OnHandleCreated, OnHandleDestroyed, OnHelpRequested, OnImeModeChanged, OnInvalidated, OnKeyDown, OnKeyPress, OnKeyUp, OnLeave, OnLocationChanged, OnLostFocus, OnMouseEnter, OnMouseHover, OnMouseLeave, OnMouseMove, OnMouseUp, OnMove, OnNotifyMessage, OnPaint, OnPaintBackground, OnParentBackColorChanged, OnParentBackgroundImageChanged, OnParentBindingContextChanged, OnParentChanged, OnParentEnabledChanged, OnParentFontChanged, OnParentForeColorChanged, OnParentRightToLeftChanged, OnParentVisibleChanged, OnQueryContinueDrag, OnResize, OnRightToLeftChanged, OnSizeChanged, OnStyleChanged, OnSystemColorsChanged, OnTabIndexChanged, OnTabStopChanged, OnTextChanged, OnValidated, OnValidating, PerformLayout, PerformLayout, PointToClient, PointToScreen, PreProcessMessage, ProcessCmdKey, ProcessKeyEventArgs, ProcessKeyMessage, ProcessKeyPreview, RaiseDragEvent, RaiseKeyEvent, RaiseMouseEvent, RaisePaintEvent, RecreateHandle, RecreateHandleCore, RectangleToClient, RectangleToScreen, Refresh, ResetBackColor, ResetBindings, ResetCursor, ResetFont, ResetForeColor, ResetImeMode, ResetMouseEventArgs, ResetRightToLeft, ResetText, ResumeLayout, ResumeLayout, RtlTranslateAlignment, RtlTranslateAlignment, RtlTranslateAlignment, RtlTranslateContent, RtlTranslateHorizontal, RtlTranslateLeftRight, Scale, Scale, Select, SelectNextControl, SendToBack, SetBounds, SetBounds, SetBoundsCore, SetClientSizeCore, SetStyle, SetTopLevel, SetVisibleCore, ShouldSerializeBackColor, ShouldSerializeCursor, ShouldSerializeFont, ShouldSerializeForeColor, ShouldSerializeImeMode, ShouldSerializeLocation, ShouldSerializeRightToLeft, ShouldSerializeSize, ShouldSerializeText, Show, SuspendLayout, UnsafeNativeMethods+IOleControl.FreezeEvents, UnsafeNativeMethods+IOleControl.GetControlInfo, UnsafeNativeMethods+IOleControl.OnAmbientPropertyChange, UnsafeNativeMethods+IOleControl.OnMnemonic, UnsafeNativeMethods+IOleInPlaceActiveObject.ContextSensitiveHelp, UnsafeNativeMethods+IOleInPlaceActiveObject.EnableModeless, UnsafeNativeMethods+IOleInPlaceActiveObject.GetWindow, UnsafeNativeMethods+IOleInPlaceActiveObject.OnDocWindowActivate, UnsafeNativeMethods+IOleInPlaceActiveObject.OnFrameWindowActivate, UnsafeNativeMethods+IOleInPlaceActiveObject.ResizeBorder, UnsafeNativeMethods+IOleInPlaceActiveObject.TranslateAccelerator, UnsafeNativeMethods+IOleInPlaceObject.ContextSensitiveHelp, UnsafeNativeMethods+IOleInPlaceObject.GetWindow, UnsafeNativeMethods+IOleInPlaceObject.InPlaceDeactivate, UnsafeNativeMethods+IOleInPlaceObject.ReactivateAndUndo, UnsafeNativeMethods+IOleInPlaceObject.SetObjectRects, UnsafeNativeMethods+IOleInPlaceObject.UIDeactivate, UnsafeNativeMethods+IOleObject.Advise, UnsafeNativeMethods+IOleObject.Close, UnsafeNativeMethods+IOleObject.DoVerb, UnsafeNativeMethods+IOleObject.EnumAdvise, UnsafeNativeMethods+IOleObject.EnumVerbs, UnsafeNativeMethods+IOleObject.GetClientSite, UnsafeNativeMethods+IOleObject.GetClipboardData, UnsafeNativeMethods+IOleObject.GetExtent, UnsafeNativeMethods+IOleObject.GetMiscStatus, UnsafeNativeMethods+IOleObject.GetMoniker, UnsafeNativeMethods+IOleObject.GetUserClassID, UnsafeNativeMethods+IOleObject.GetUserType, UnsafeNativeMethods+IOleObject.InitFromData, UnsafeNativeMethods+IOleObject.IsUpToDate, UnsafeNativeMethods+IOleObject.OleUpdate, UnsafeNativeMethods+IOleObject.SetClientSite, UnsafeNativeMethods+IOleObject.SetColorScheme, UnsafeNativeMethods+IOleObject.SetExtent, UnsafeNativeMethods+IOleObject.SetHostNames, UnsafeNativeMethods+IOleObject.SetMoniker, UnsafeNativeMethods+IOleObject.Unadvise, UnsafeNativeMethods+IOleWindow.ContextSensitiveHelp, UnsafeNativeMethods+IOleWindow.GetWindow, UnsafeNativeMethods+IPersist.GetClassID, UnsafeNativeMethods+IPersistPropertyBag.GetClassID, UnsafeNativeMethods+IPersistPropertyBag.InitNew, UnsafeNativeMethods+IPersistPropertyBag.Load, UnsafeNativeMethods+IPersistPropertyBag.Save, UnsafeNativeMethods+IPersistStorage.GetClassID, UnsafeNativeMethods+IPersistStorage.HandsOffStorage, UnsafeNativeMethods+IPersistStorage.InitNew, UnsafeNativeMethods+IPersistStorage.IsDirty, UnsafeNativeMethods+IPersistStorage.Load, UnsafeNativeMethods+IPersistStorage.Save, UnsafeNativeMethods+IPersistStorage.SaveCompleted, UnsafeNativeMethods+IPersistStreamInit.GetClassID, UnsafeNativeMethods+IPersistStreamInit.GetSizeMax, UnsafeNativeMethods+IPersistStreamInit.InitNew, UnsafeNativeMethods+IPersistStreamInit.IsDirty, UnsafeNativeMethods+IPersistStreamInit.Load, UnsafeNativeMethods+IPersistStreamInit.Save, UnsafeNativeMethods+IQuickActivate.GetContentExtent, UnsafeNativeMethods+IQuickActivate.QuickActivate, UnsafeNativeMethods+IQuickActivate.SetContentExtent, UnsafeNativeMethods+IViewObject.Draw, UnsafeNativeMethods+IViewObject.Freeze, UnsafeNativeMethods+IViewObject.GetAdvise, UnsafeNativeMethods+IViewObject.GetColorSet, UnsafeNativeMethods+IViewObject.SetAdvise, UnsafeNativeMethods+IViewObject.Unfreeze, UnsafeNativeMethods+IViewObject2.Draw, UnsafeNativeMethods+IViewObject2.Freeze, UnsafeNativeMethods+IViewObject2.GetAdvise, UnsafeNativeMethods+IViewObject2.GetColorSet, UnsafeNativeMethods+IViewObject2.GetExtent, UnsafeNativeMethods+IViewObject2.SetAdvise, UnsafeNativeMethods+IViewObject2.Unfreeze, Update, UpdateBounds, UpdateBounds, UpdateBounds, UpdateStyles, UpdateStylesCore, UpdateZOrder

Methods inherited from class System.ComponentModel.Component
Dispose, Finalize, GetService, ToString

Methods inherited from class System.MarshalByRefObject
CreateObjRef, GetLifetimeService, InitializeLifetimeService

Methods inherited from class System.Object
Equals, GetHashCode, GetType, MemberwiseClone

Events inherited from class System.Windows.Forms.UserControl
Load

Events inherited from class System.Windows.Forms.Control
BackColorChanged, BackgroundImageChanged, BindingContextChanged, CausesValidationChanged, ChangeUICues, Click, ContextMenuChanged, ControlAdded, ControlRemoved, CursorChanged, DockChanged, DoubleClick, DragDrop, DragEnter, DragLeave, DragOver, EnabledChanged, Enter, FontChanged, ForeColorChanged, GiveFeedback, GotFocus, HandleCreated, HandleDestroyed, HelpRequested, ImeModeChanged, Invalidated, KeyDown, KeyPress, KeyUp, Layout, Leave, LocationChanged, LostFocus, MouseDown, MouseEnter, MouseHover, MouseLeave, MouseMove, MouseUp, MouseWheel, Move, Paint, ParentChanged, QueryAccessibilityHelp, QueryContinueDrag, Resize, RightToLeftChanged, SizeChanged, StyleChanged, SystemColorsChanged, TabIndexChanged, TabStopChanged, TextChanged, Validated, Validating, VisibleChanged

Events inherited from class System.ComponentModel.Component
Disposed


Field Detail

components

private System.ComponentModel.Container components


label1

private System.Windows.Forms.Label label1


queryOn

private Naanou.Common.Search.QueryOn queryOn


txtQuery

private System.Windows.Forms.TextBox txtQuery

Constructor Detail

SearchGeneral

public SearchGeneral(Naanou.Common.Search.QueryOn queryOn)

Constructor

Parameters:
queryOn - Query field
Property Detail

Filter

public Naanou.Common.FileCategory Filter


Text

public string Text

Method Detail

Clear

public void Clear()


ColumnSetup

public void ColumnSetup(System.Windows.Forms.ListView list)


ContentHashQuery

private void ContentHashQuery(Naanou.Common.Search.SearchQuery qry)


Dispose

protected void Dispose(bool disposing)


FilenameQuery

private void FilenameQuery(Naanou.Common.Search.SearchQuery qry)


GetQuery

public Naanou.Common.Search.SearchQuery GetQuery()


GetSubItems

public System.Windows.Forms.ListViewItem.ListViewSubItem[] GetSubItems(System.Windows.Forms.ListViewItem parent,
                                                                 Naanou.Common.Search.SearchResult r,
                                                                 Naanou.Common.IEntry entry)


InitializeComponent

private void InitializeComponent()

Required method for Designer support - do not modify the contents of this method with the code editor.